package com.gxa.saas.service;

import com.gxa.saas.pojo.GoodsXq;
import com.gxa.saas.pojo.Storage;
import com.gxa.saas.pojo.StoreHouseIn;

import java.util.List;
import java.util.Map;

public interface StoreHouseInService {
    List<StoreHouseIn> selectByPage(Integer limit, Integer size);
    Integer addInList(StoreHouseIn storeHouseIn);
    Integer deleteById(Integer id);
    StoreHouseIn selectById(Integer id);
    Integer update(Map map);
    Integer updateCheck(Integer id,String comments);
    StoreHouseIn selectByStateAndId(Integer id ,String state);
    List<StoreHouseIn> selectAll();

    List<StoreHouseIn> selectByDateAndVendorAndDepotAndState(Map map);
    List<Storage> getStorageList(Integer limit, Integer size);

    Integer getTotalCountIn();
    Integer getTotalStorageIn();
    Integer getTotalByLike(String name);
    Integer getTotalByTiaojian(Map map);
    List<StoreHouseIn> getDropDownList();
    public List<Storage> selectStoreDetail(String goodsName, Integer page, Integer size);
    List<GoodsXq> selectDetailById(Integer id);
    Storage selectByDetailId(Integer id);
    Integer deleteDetailById(Integer id);
    Integer insertGoodsXq(GoodsXq goodsXq);
    GoodsXq selectByGoodsXqId(Integer id);
    Integer updateByPrice(Integer bigCount,Integer smallCount,Double money,Integer id);

}
